home *** CD-ROM | disk | FTP | other *** search
/ Sesame Street - Season 38 Press Kit / Sesame Street - Season 38 Press Kit CD-ROM.iso / mac.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2007-06-07  |  1.4 KB  |  26 lines

  1. Object.root = this;
  2. beenReset++;
  3. var d = 0;
  4. var current = 0;
  5. var ease = "easeOutSine";
  6. var beenReset = 0;
  7. var muppet = ["theCount","elmo","ernie","abi","bigBird","bert","ballet","amazing","family"];
  8. i = 0;
  9. while(i <= muppet.length)
  10. {
  11.    eval(muppet[i])._y = 850;
  12.    i++;
  13. }
  14. var currentMuppet = _level0.theCount;
  15. i = 0;
  16. while(i <= 1)
  17. {
  18.    this["cover" + i]._xscale = this["cover" + i]._yscale = 0;
  19.    i++;
  20. }
  21. topBubble.masker._xscale = topBubble.masker._yscale = 0;
  22. browseBtn.masker._xscale = browseBtn.masker._yscale = 0;
  23. downloadBtn.masker._xscale = downloadBtn.masker._yscale = 0;
  24. var leftWordArray = [["family","0xCC0099","family"],["squid","0xE8EC76","theCount"],["newspaper","0xFF9900","theCount"],["dog","0xCC0099","theCount"],["lazy","0x009BCC","theCount"],["ticklish","0x88B532","elmo"],["ballet","0xCC0099","ballet"],["tricycle","0xFF9900","theCount"],["disappear","0xE8EC76","theCount"],["pumpernickel","0xCC0099","theCount"],["frustrated","0x009BCC","theCount"],["angry","0xFF9900","bert"]];
  25. var rightWordArray = [["prepared","0x88B532","theCount"],["rhyme","0xE8EC76","theCount"],["pretend","0xCC0099","abi"],["amazing","0x0395C2","amazing"],["apologize","0x88B532","theCount"],["expert","0xFF9900","ernie"],["mystery","0xE8EC76","theCount"],["struggle","0x88B532","theCount"],["gigantic","0xCC0099","theCount"],["windy","0x009BCC","bigBird"],["predicament","0xD6870B","theCount"],["sigh","0xCC0099","theCount"]];
  26.